#ifndef QQ_CONTENT_DIALOG_PRIVATE
#define QQ_CONTENT_DIALOG_PRIVATE

#include <qobject.h>

#include <Def.h>
#include <stdafx.h>

class QVBoxLayout;
class ElaPushButton;
class QQMaskWidget;
class QQContentDialog;
class QQContentDialogPrivate : public QObject
{
	Q_OBJECT
		Q_D_CREATE(QQContentDialog)
public:
	explicit QQContentDialogPrivate(QObject* parent = nullptr);
	~QQContentDialogPrivate();

private:
	qint64 _currentWinID{ 0 };
	ElaThemeType::ThemeMode _themeMode;
	QQMaskWidget* _maskWidget{ nullptr };
	QWidget* _centralWidget{ nullptr };
	QWidget* _buttonWidget{ nullptr };
	QVBoxLayout* _mainLayout{ nullptr };
	QString _leftButtonText{ "cancel" };
	QString _middleButtonText{ "minimum" };
	QString _rightButtonText{ "exit" };
	ElaPushButton* _leftButton{ nullptr };
	ElaPushButton* _middleButton{ nullptr };
	ElaPushButton* _rightButton{ nullptr };
	void _doCloseAnimation();
};

#endif // !QQ_CONTENT_DIALOG_PRIVATE
